<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
	.divFrame{width:260px;border:solid 1px #666;font-size:10px;}
	.divTitle{background-color:#eee;padding:5px;}
	.divContent{padding:8px;font-size:9px;}
	.divTip{width:244px;border:solid 1px #666;padding:8px;font-size:9px;margin-top:5px;display:none}
	.txtCss{border:solid 1px #ccc}
	.divBtn{padding-top:5px}
	.divBtn .btnCss{border:solid 1px #535353;width:60px;}
</style>
<script type="text/javascript" src="../js/jquery-2.1.1.min.js"></script>
<script type="text/javascript">
	$(function(){
		$("#Button1").click(function(){
			var oTxtValue=$("#Text1").val();
			var oRdoValue=$("#Radio1").is(":checked")?"男":"女";
			var oChkValue=$("#Checkbox1").is(":checked")?"已婚":"未婚";
			$("#divTip").css("display","block").html(oTxtValue+"<br>"+oRdoValue+"<br>"+oChkValue);
		});
	});
</script>
</head>
<body>
	<div class="divFrame">
		<div class="divTitle">请输入如下信息</div>
		<div class="divContent">
			姓名：<input id="Text1" type="text" class="txtCss"><br/>
			性别：<input id="Radio1" name="rdoSex" type="radio" value="male" />男
						<input id="Radio2" name="rdoSex" type="radio" value="female">女<br/>
			婚否：<input id="Checkbox1" type="checkbox" />
			<div class="divBtn">
					<input id="Button1" type="button" value="提交" class="btnCss">
			</div>
		</div>
	</div>
	<div id="divTip" class="divTip"></div>
</body>
</html>